/**
 * @author chihb
 * @create-time 2024/7/4 12:28
 * @description
 */
public class Demo4 extends Utils {
    public static void main(String[] args) {
        try {
            System.out.print(new Demo4().getlnt("42"));
        } catch (NumberFormatException n) {
            System.out.println("NFEXc");
        }
    }
    int getlnt(String arg) throws NumberFormatException {
        return Integer.parseInt(arg);
    }
}

class Utils {
    int getlnt(String arg) {
        return 42;
    }
}